<!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" name="viewport" />
<meta content="black" name="apple-mobile-web-app-status-bar-style" />
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black"> 
<meta name="format-detection" content="telephone=no">
<title>年/月代记账列表 - {$cwgl_config['webtitle']}</title>
<link href="{$templateurl}/css/css.css" rel="stylesheet" type="text/css">
<link href="{$templateurl}/css/common.css" rel="stylesheet" type="text/css">
</head>
<body >
<!--分页-->
<link href="./resource/css/bootstrap.min.css" rel="stylesheet">
<!--分页-->
<style>
	.form-control_pp{width:180px;height:34px;padding:6px 12px;font-size:14px;line-height:1.42857143;color:#555;background-color:#fff;background-image:none;border:1px solid #ccc;border-radius:4px;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075);box-shadow:inset 0 1px 1px rgba(0,0,0,.075);-webkit-transition:border-color ease-in-out .15s,-webkit-box-shadow ease-in-out .15s;-o-transition:border-color ease-in-out .15s,box-shadow ease-in-out .15s;transition:border-color ease-in-out .15s,box-shadow ease-in-out .15s}
</style>
<div class="head">
	<div class="content-top clearFix">
    <a href="{php echo $this->createMobileUrl('staff_userlist')}">
	 <em class="return"><</em>
	 <span class="fanhui">返回</span>
	</a>

	<!--搜索 start-->
	<div style="float:right;">
	<a href="{$urltk}&op=add" class="btn btn-default" style=" color:#333333;">添加</a>
	</div>
	<!--搜索 end-->
   </div>
</div>
	
<div id="content" >
  
   <div class="k-manage-bd">
      <div class="titbox">
	    <h3 class="htit">年/月代记账列表</h3>
	  </div>
	  
	  <div class="dai-manage">
	  <form action="./index.php" method="get" class="form-inline" role="form">
		<input type="hidden" name="i" value="{$_GPC['i']}">
		<input type="hidden" name="c" value="{$_GPC['c']}">
		<input type="hidden" name="do" value="{$_GPC['do']}">
		<input type="hidden" name="m" value="{$_GPC['m']}">
		<input type="hidden" name="uid" value="{$_GPC['uid']}">
	    <h3 class="company" style="font-size:12px;">公司：{$usershow2['compname']} </h3>
		<div class="tally-top clearFix">
			 <div class="timesele">
				<select name="years" class="select">
					{$yearhtml}
				</select>
			 </div>
			 <div class="timesele">
				<select name="month" class="select">
				   {$monthhtml}
				</select>
			 </div>
			 <input type="submit" name="search_submit" value="查 询" class="look-btn" style="border:0px;">
		 </div>
	  </form>
	  </div>
	  <div class="k-manage-list clearFix">
	    <ul>
		  {loop $list $key $value}
		  <li>
		     <div class="info">
			   <p>
			     <em>日期：</em>
				 <span>{$value['years']} - {$value['month']}</span>
			   </p>
			   <p>
			     <em>发布时间：</em>
				 <span>{php echo date('Y-m-d H:i', $value['deadline']);}</span>
			   </p>
		    </div>
		    <a href="{$urltk}&op=edit&id={$value[id]}" class="look-btn">修改</a>
		  </li>
		  {/loop}
		</ul>
	  </div>
	  <div style="padding: 0 10px; text-align:center;">
			<style>
				.pagination {margin-top: 0px;}
			</style>
			{$pager}
	  </div>
   </div>
   
</div>

<!--footer star-->
{template 'staff_footer'}
<!--footer end-->
</body>
</html>
